home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group93b.txt
/
000028_icon-group-sender _Tue Apr 27 09:45:32 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1993-06-16
|
2KB
Received: by cheltenham.cs.arizona.edu; Tue, 27 Apr 1993 05:14:52 MST
Message-Id: <9304270845.AA09147@ruls41.LeidenUniv.nl>
To: icon-group@cs.arizona.edu
Cc: ruiter@ruls41.LeidenUniv.nl
Subject: Re: "Find that Niche!" contest?
Date: Tue, 27 Apr 93 09:45:32 +0100
From: ruiter@ruls41.LeidenUniv.nl
X-Mts: smtp
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
I don't know whether finding a 'hot' or 'cool' application
written *in* Icon would be so convincing. Of course,
any good application written in Icon *supports* the
language by means of illustration and a sort of
"see what you can do in this language"-proof.
However, I think the main power of Icon lies in the
possibility of reducing development time. I have
implemented several psycholinguistic models using
Icon in 2-3 hours, including a handy command-line
interface. What struck me as one of the advantages
of Icon in that context is that I could call procedures
by their string values, so after defining a new procedure
in the model, the user interface did not have to be
adapted; the new procedure could be called from the command
line right away!
This sort of 'trics' usually surpises programmers in a positive
way. I had a colleague (C programmer) turn whitish when he
saw me scramble (randomize) a file with:
procedure main(ar)
infile := open(ar[1]) | &input
lines := list()
every(put(lines,!infile))
every(?lines :=: !lines)
every(write(!lines))
close(infile)
end
Now this rather innocent kind of program is so easy to
write in Icon that you'd have to run it a thousand times
a day to justify writing it in C.
The unique thing of Icon (IMHO, of course) is that it
reduces development time so drastically that it actually
pays to use it, even when the performance is interpreter-like.
Maybe what would help to convince programmers if they are
potential Icon enjoyers is a document that does not only
highlight Icon's features, but also compares these features
with other programming languages like awk() en C(++). If
such a document is written well, it could be quite convincing.
Jan
----------------------------------------------------
Jan de Ruiter
Leiden University
Dept. of Information Science for the Social Sciences
The Netherlands
ruiter@ruls41.leidenuniv.nl